<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
    /**
     * 数字类型
     *  整形  byte short int long  
     *  浮点型（float double）
     * 字符类型 char
     * 布尔类型 boolean
     */
    //定义对象
    var user =  new Object(); 
    user.name = '张三'
    console.log("user",user);
    
    //可以使用Function定义对象
    function User(){
        this.name = "张三"
    }
    
    var zs = new User();
    console.log("zs",zs);


    class Person{
        name = '张三';
    }

    var ls = new Person()
    console.log("ls",ls);



    // JSON  
    const lisi ={
        name: '王五'
    }
    console.log("lisi",lisi);





        


    </script>
</body>
</html>